/*******************************************************************************
 * Copyright (c) 2009-2011 ETCORE Labs. All rights reserved. 
 * 
 * This software is the confidential and proprietary information of ETCORE Labs.
 * You shall not disclose such confidential information and shall use it
 * only in accordance with the terms of the license agreement you entered into
 * with ETCORE Labs. 
 * 
 * Support can be obtained from support forums at:  http://www.etcore.com/
 * /
 *******************************************************************************/
package etcore.webapp.grouptalk.common.object;

/**
 * An instance of Topic is a persistence object representing a group's topic. A
 * topic belongs to some group, and contains messages.
 * 
 * @author ETCORE GroupTalk Developers
 * 
 */
public class Topic implements java.io.Serializable {

	private static final long serialVersionUID = 3594329971082802730L;
	private Integer id;
	private Integer gid; // group id
	private Integer parent;
	private String name;
	private String userName;
	private String time;
	private String tag; // tag
	private Integer rankv = 0; // rank value

	/** Default constructor */
	public Topic() {
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getGid() {
		return this.gid;
	}

	public void setGid(Integer gid) {
		this.gid = gid;
	}

	public Integer getParent() {
		return this.parent;
	}

	public void setParent(Integer parent) {
		this.parent = parent;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getTime() {
		return this.time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public Integer getRankv() {
		return rankv;
	}

	public void setRankv(Integer rankv) {
		this.rankv = rankv;
	}

}